<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\MajorSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="major-search">

    <?php $form = ActiveForm::begin([
        //'action' => ['index'],
        'method' => 'get',
        'options' => [
            'class' => 'form-inline',
            'data-pjax' => 1
        ],
    ]); ?>

    <?php // echo $form->field($model, 'ID') ?>

    <?php  echo $form->field($model, 'XXID')->label('学校') ?>

    <?php // echo $form->field($model, 'BMID') ?>

    <?php  echo $form->field($model, 'ZYDM') ?>

    <?php  echo $form->field($model, 'ZYMC') ?>

    <?php // echo $form->field($model, 'ZYJC') ?>

    <?php // echo $form->field($model, 'BXZYBH') ?>

    <?php // echo $form->field($model, 'ZYJS') ?>

    <?php // echo $form->field($model, 'KSSJ') ?>

    <?php // echo $form->field($model, 'CXSJ') ?>

    <?php // echo $form->field($model, 'ZYMLBB') ?>

    <?php  echo $form->field($model, 'ZYLB') ?>

    <?php // echo $form->field($model, 'ZYFX') ?>

    <?php // echo $form->field($model, 'ZSLB') ?>

    <?php // echo $form->field($model, 'XZ') ?>

    <?php // echo $form->field($model, 'JXXS') ?>

    <?php // echo $form->field($model, 'ZXF') ?>

    <?php // echo $form->field($model, 'BXXF') ?>

    <?php // echo $form->field($model, 'SFGK') ?>

    <?php // echo $form->field($model, 'SFSN') ?>

    <?php // echo $form->field($model, 'ZSZG') ?>

    <?= $form->field($model, 'ZT')->dropDownList(['1'=>'已批准' , '0'=>'待审核' , '-1'=>'驳回'] , ['prompt'=>'请选择']) ?>

    <div class="form-group">
        <?= Html::submitButton('查找', ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton('清除', ['class' => 'btn btn-outline-secondary']) ?>
        <div class="help-block"></div>
    </div>

    <?php ActiveForm::end(); ?>

</div>
